﻿using Sorting.App.Models.Enum;

namespace Sorting.App.Models
{
    /// <summary>
    /// 系统用户表
    ///</summary>
    public class UserEntity
    {
        /// <summary>
        /// 主键 
        ///</summary>
      
        public int Uuid { get; set; }
        /// <summary>
        /// 编码 
        ///</summary>

        public string Code { get; set; }
        /// <summary>
        /// 名称 
        ///</summary>

        public string Name { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        public DateTime? Createtime { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
        public DateTime? Updatetime { get; set; }
        /// <summary>
        /// 创建人员Id 
        ///</summary>
        public string CreateUserid { get; set; }
        /// <summary>
        /// 创建人员名称 
        ///</summary>
        public string CreateUsername { get; set; }


        /// <summary>
        /// 是否被删除 
        ///</summary>
        public string IsDelete { get; set; }
        /// <summary>
        /// 角色;  0：基础用户    1；系统管理员 
        ///</summary>
        public EnumRole? Role { get; set; }
        /// <summary>
        /// 密码 
        ///</summary>
        public string Password { get; set; }
        /// <summary>
        /// 修改人员Id 
        ///</summary>
        public string UpdateUserid { get; set; }
        /// <summary>
        /// 修改人员名称 
        ///</summary>
        public string UpdateUsername { get; set; }



        /// <summary>
        /// 角色名称
        /// </summary>
        public string UserRoleName { get; set; }


        /// <summary>
        /// token
        /// </summary>
        public  string   Token { get; set; }
    }
}
